package com.ndbg.demo.entity;

public class MessageContext {
    private final String k;

    private final Object v;

    public String getK() {
        return k;
    }

    public Object getV() {
        return v;
    }

    private MessageContext(String k, Object v) {
        this.k = k;
        this.v = v;
    }

    public static MessageContext buildContext(String k, Object v) {
        return new MessageContext(k, v);
    }
}
